<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
<%@include file="/WEB-INF/taglibs/common/taglibs.jsp"%>
<head>
<title><spring:message code="sp.faq.home.title" /></title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<link rel="stylesheet" href="<c:url value="/css/styles.css"/>" />
<script src="<c:url value="/javascripts/common.js"/>"></script>

</head>

<body><%@include file="../top_menu.jsp"%>

<table width="100%">
	<tr>
		<td><c:import url="/WEB-INF/jsp/serviceprovider/faq/faq_menu.jsp" />
		</td>
	</tr>
</table>
<center><h3><spring:message code="sp.faq.home.label.welcome"/></h3>
<spring:message code="sp.faq.home.label.steptitle" /></center>
<div id="accordion">
<h3><a href="#"> 1. <spring:message code="sp.faq.home.label.step1" />. </a></h3>
<div>
<table width="70%" align="center" class="formTable">
	
	<tr>
		<td>	
			<ul>
				<c:forEach var="answer" items="${listAnswers}" varStatus="i">		
						<li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="view_answer.htm?id=${answer.id}" onclick="enableAskQuestion()">${answer.questionSubject}</a><br/></li><br/>		
				</c:forEach>
			</ul>
		</td>
	</tr>
	</table>
	</div>
	<h3><a href="#"> 2. <spring:message code="sp.faq.home.label.step2" />. </a></h3>
	<div>
	<table width="70%" align="center" class="formTable">
	<tr>
		<td>
			<br/>
			<br/>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<input type="text" size="50" id="keyword" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<input type="button" class='ui-button ui-state-default ui-corner-all' value="Go" onclick="javascript:window.location='faq_answer.htm?keyword=' + document.getElementById('keyword').value;" />
			<br/>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<spring:message code="sp.faq.home.label.searchbykeyworkd" />
		</td>
	</tr>	
	<tr><td>&nbsp;</td></tr>
	<tr><td>&nbsp;</td></tr>			
</table>
</div>
</div>	
<script language="javascript" type="text/javascript">

		$("#accordion").accordion();
		
	function enableAskQuestion()
	{
		
		firstTimeOpen=false;
	}
</script>
<%@include file="/WEB-INF/jsp/include/footer.jsp"%>
</body>
</html>